start:	IN 0,R4
	LOAD R4,R2
	SUBN R4,1,R4
rek: 	MUL R2,R4,R2
	SUBN R4,1,R4
	JMPNZ rek
	OUT R2,0
	HALT
